﻿using RpcModel;

using Wedonek.RpcStore.Service.Model;

namespace Wedonek.RpcStore.Service.Interface
{
        public interface IServerTypeCollect
        {
                BasicServerType[] GetBasic(string[] types);
                long Add(ServerTypeDatum add);
                bool CheckIsRepeat(string typeVal);
                void Drop(long id);
                ServerType Get(long id);
                ServerType[] Gets(string[] types);
                ServerType[] Gets(long[] ids);
                ServerType[] Gets(long groupId);
                ServerType[] Query(ServerTypeQueryParam query, IBasicPage paging, out long count);
                void Set(long id, ServerTypeSetParam param);
                void Clear(long groupId);
                BasicServerType[] GetBasic (long[] ids);
        }
}